package org.example.data;

public class RoomIn {
    private Integer id;
    private Integer roomId;
    private Integer userId;
    private String startTime;
    private String endTime;
    private String checkTime;

    public RoomIn(Integer roomId) {
        this.roomId = roomId;
    }

    public RoomIn() {
    }

    public RoomIn(Integer roomId, Integer userId, String startTime, String endTime, String checkTime) {
        this.roomId = roomId;
        this.userId = userId;
        this.startTime = startTime;
        this.endTime = endTime;
        this.checkTime = checkTime;
    }

    public RoomIn(Integer id, Integer roomId, Integer userId, String startTime, String endTime, String checkTime) {
        this.id = id;
        this.roomId = roomId;
        this.userId = userId;
        this.startTime = startTime;
        this.endTime = endTime;
        this.checkTime = checkTime;
    }

    public RoomIn(Integer roomId, Integer userId, String startTime, String endTime) {
        this.roomId = roomId;
        this.userId = userId;
        this.startTime = startTime;
        this.endTime = endTime;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(String checkTime) {
        this.checkTime = checkTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "RoomIn{" +
                "id=" + id +
                ", roomId=" + roomId +
                ", userId=" + userId +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", checkTime='" + checkTime + '\'' +
                '}';
    }
}
